package game.engine.base

import android.util.Log

// 各个模块的  debug 开关
object CoreDebug {
    const val NodeDebug = false
    const val SceneDebug = false
    const val DirectorDebug = false
    const val PoolDebug = false
    const val LabelDebug = false
    const val FpsDebug = false
    const val TweenDebug = false

    fun info(str:String){
        println("[Engine-CoreDebug-info]:$str")
    }

    fun warn(str:String){
        println("[Engine-CoreDebug-warn]:$str")
    }

    fun error(str:String){
        println("[Engine-CoreDebug-error]:$str")
    }
}


object UDebug{

    @JvmStatic
    fun info(str:String){
        Log.e("[Engine-user-info]",str)
    }
}